import solidPlugin from "vite-plugin-solid";
import ssr from "vite-plugin-ssr/plugin";
import { UserConfig } from "vite";
import WindiCSS from "vite-plugin-windicss";

const config: UserConfig = {
  plugins: [
    solidPlugin({ ssr: true }),
    ssr(),
    // WindiCSS(),
  ],
  build: {
    polyfillDynamicImport: false,
  },
};

export default config;
